package com.ruoyi.ok.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 点赞对象 tb_ok
 * 
 * @author 劳雅玲
 * @date 2024-05-04
 */
public class TbOk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 我的id */
    @Excel(name = "我的id")
    private Long userId;

    /** post的id */
    @Excel(name = "post的id")
    private Long postId;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long okCount;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Excel(name = "帖子标题")
    private String title;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setOkCount(Long okCount) 
    {
        this.okCount = okCount;
    }

    public Long getOkCount() 
    {
        return okCount;
    }

    @Override
    public String toString() {
        return "TbOk{" +
                "id=" + id +
                ", userId=" + userId +
                ", postId=" + postId +
                ", okCount=" + okCount +
                ", title='" + title + '\'' +
                '}';
    }
}
